<%@ page language="java" pageEncoding="UTF-8"%>
<%@ include file="/common/taglibs.jsp" %>
<%@ taglib prefix="form" uri="http://www.springframework.org/tags/form"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>会员密码修改</title>
<script type="text/javascript" src="${ctxPath}/resource/common/js/core/core.js"></script> 
<SCRIPT src="${ctxPath}/style/superValidator.js" type=text/javascript></SCRIPT>
	<SCRIPT type=text/javascript>
	$(document).ready(function(){
	setEmptyCheck("txtPwd:newPassword:rePassword");	
	
	});
	
	function comparePwd(obj)
	{
		var pwd=document.getElementById("newPassword").value;
		if(obj.value!=pwd)
		{
			obj.value="";
		}
	}
	</script>
</head>
<body>

<form:form method="post" id="user" commandName="user" action="editMember.do">	
<form:hidden path="userId"/>
<input type="hidden" name="actionType" value="updatePwd"/>
<ul class="enroll_top"><img src="${ctxPath}/image/members/enroll_title.gif" width="816" height="8"/></ul>
	<ul class="enroll">
		<li class="enroll_title"><img src="${ctxPath}/image/members/enroll_dot.gif" width="14" height="14" align="absmiddle"/> 修改个人密码</li>
		<li class="enroll_info">
			<table width="100%"  border="0" cellspacing="0" cellpadding="0">
  				<tr>
    				<td>登录账号：<font color="#999999">${user.username}</font></td>
  				</tr>
  				<tr>
    				<td>原 密 码： <input type="password" name="txtPwd" id="txtPwd" check=2  tip="不能为空" class="enrollbox95"/><font color="red">${msg}</font></td>
  				</tr>
  				<tr>
    				<td>新 密 码： <input type="password" name="newPassword" id="newPassword" check=2  tip="不能为空" class="enrollbox95"/></td>
  				</tr>
  				<tr>
    				<td>密码确认： <input type="password" name="rePassword" id="rePassword" check=2  tip="不能为空" onBlur="comparePwd(this)" class="enrollbox95"/></td>
  				</tr>
			</table>
		</li>
		<li class="enroll_sumbit">
		<input name="submit" type="submit" onClick="bCancel=false" value=" 保存 " class="message_submit"/>
		&nbsp;
		<input name="cancel" type="reset" value=" 重置 " class="message_submit" />
		</li>
	</ul>
	<ul class="enroll_bottom"><img src="${ctxPath}/image/members/enroll_last.gif" width="816" height="8"/></ul>
</form:form>
</body>
</html>

